#include "Protocols/PacketHeader.h"
#include "Protocols/Protocal.h"

DECLARE_PROTOCOLHEADER_BEGIN(FtpHeader)
	DECLARE_PROTOCOLHEADER__DEFAULTCONSTRUCTOR(FtpHeader)

	int getHeaderLength() const{
		return mLength;
	}	

	QString getSummary() const;
	QString getCommandInfo() const;
	QString getArgInfo() const;
	void toShowableItems(ShowableItem* root) const;
	
private:
	int commandIndex() const;

DECLARE_PROTOCOLHEADER_END
DECLARE_PROTOCOL_BEGIN(FtpProtocal,FtpHeader)
DECLARE_PROTOCOL_END